
<script src="/static/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$("#KinSlideshow2").KinSlideshow({
			moveStyle:"down",
			intervalTime:3,
			mouseEvent:"mouseover",
			titleFont:{TitleFont_size:0,TitleFont_color:"#ffffff"},
			titleBar:{titleBar_height:0,titleBar_bgColor:"#000000",titleBar_alpha:0}
	});
})
$(document).ready(function(){ 
    $(".KSS_titleBox").remove();
    $(".KSS_titleBar").remove();
});
</script>
<!--${
	$now = time();
	$condition = array(
		"begin_time < $now",
		"end_time > $now",
		"position" => "header_focus",
		"city_id" => array($city['id'], 0),
	);
	$ads = DB::LimitQuery('page_ad', array('condition'=>$condition, 'order'=>'ORDER BY sort_order DESC'));
}-->

<!--{if $ads}-->
<div style="margin:0 auto;width:980px;height:60px;margin-top:5px;">
<div id="KinSlideshow2" style="visibility:hidden;">
	<!--{loop $ads $one}-->
	<a href="{$one['url']}" target="_blank"><img src="/static/{$one['image']}" width="980" height="60" alt="{$one['title']}" /></a>
	<!--{/loop}-->
</div>
</div>
<!--{/if}-->